<div class="card" xmlns:shiro="http://www.w3.org/1999/xhtml">
    <div data-th-include="system/projectEntry/projectEntryImportExcel"></div>
    <div data-th-include="system/projectEntry/projectEntryAdd"></div>
    <div class="card-block">
        <div class="table-responsive">
            <div id="data-table_wrapper" class="dataTables_wrapper">
                <div class="dataTables_buttons hidden-sm-down actions">
                    <span class="actions__item zmdi zmdi-search" onclick="search()" title="搜索" />
                    <span class="actions__item zmdi zmdi-refresh-alt" onclick="refresh()" title="刷新" />
                    <div class="dropdown actions__item">
                        <i data-toggle="dropdown" class="zmdi zmdi-download"></i>
                        <ul class="dropdown-menu dropdown-menu-right">
                            <a href="javascript:void(0)" class="dropdown-item" data-table-action="importExcel" data-toggle="modal" data-target="#projectEntry-importExcel">
                                importExcel (.xlsx)
                            </a>
                            <a href="javascript:void(0)" class="dropdown-item" data-table-action="excel"  onclick="exportProjectEntryExcel()">
                                ExportExcel (.xlsx)
		                	</a>
                            <a href="javascript:void(0)" class="dropdown-item" data-table-action="csv"  onclick="exportProjectEntryCsv()">
		                    	CSV (.csv)
		                	</a>
                        </ul>
                    </div>
                    <div class="dropdown actions__item" shiro:hasAnyPermissions="projectEntry:add,projectEntry:delete,projectEntry:update">
                        <i data-toggle="dropdown" class="zmdi zmdi-more-vert"></i>
                        <div class="dropdown-menu dropdown-menu-right">
                            <a href="javascript:void(0)" class="dropdown-item" data-toggle="modal" data-target="#projectEntry-add" shiro:hasPermission="projectEntry:add">新增项目</a>
                            <a href="javascript:void(0)" class="dropdown-item" onclick="updateProjectEntry()" shiro:hasPermission="projectEntry:update">修改项目</a>
                            <a href="javascript:void(0)" class="dropdown-item" onclick="deleteProjectEntry()" shiro:hasPermission="projectEntry:delete">删除项目</a>
<!--                            <a href="javascript:void(0)" class="dropdown-item" data-toggle="modal" data-target="#user-add" shiro:hasPermission="user:add">新增用户</a>-->
<!--                            <a href="javascript:void(0)" class="dropdown-item" onclick="updateUser()" shiro:hasPermission="user:update">修改用户</a>-->
<!--                            <a href="javascript:void(0)" class="dropdown-item" onclick="deleteUsers()" shiro:hasPermission="user:delete">删除用户</a>-->
                        </div>
                    </div>
<!--                    <div class="dropdown actions__item" shiro:hasAnyPermissions="user:add,user:delete,user:update">-->
<!--                        <i data-toggle="dropdown" class="zmdi zmdi-more-vert"></i>-->
<!--                        <div class="dropdown-menu dropdown-menu-right">-->
<!--                            <a href="javascript:void(0)" class="dropdown-item" data-toggle="modal" data-target="#user-add" shiro:hasPermission="user:add">新增用户</a>-->
<!--                            <a href="javascript:void(0)" class="dropdown-item" onclick="updateUser()" shiro:hasPermission="user:update">修改用户</a>-->
<!--                            <a href="javascript:void(0)" class="dropdown-item" onclick="deleteUsers()" shiro:hasPermission="user:delete">删除用户</a>-->
<!--                        </div>-->
<!--                    </div>-->

                </div>
                <div id="data-table_filter" class="dataTables_filter">
                    <form class="projectEntry-table-form">
                        <div class="row">
                            <div class="col-sm-3">
                                <div class="input-group">
                                    <span class="input-group-addon"> 客户： </span>
                                    <div class="form-group">
                                        <input type="text" name="customer" class="form-control"> <i class="form-group__bar"></i>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="input-group">
                                    <span class="input-group-addon"> 市场名： </span>
                                    <div class="form-group">
                                        <input type="text" name="marketName" class="form-control"> <i class="form-group__bar"></i>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="input-group">
                                    <span class="input-group-addon"> 项目代号： </span>
                                    <div class="form-group">
                                        <input type="text" name="projectNo" class="form-control"> <i class="form-group__bar"></i>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                    <table id="projectEntryTable" data-mobile-responsive="true" class="mb-bootstrap-table text-nowrap"></table>
            </div>
        </div>
    </div>
</div>
<script data-th-src="@{js/app/system/projectEntry/projectEntry.js}"></script>
<script data-th-src="@{js/app/system/projectEntry/projectEntryEdit.js}"></script>
<script data-th-src="@{js/app/system/projectEntry/projectEntryAdd.js}"></script>

